// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.fir.resolve;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("fir/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../idea/tests/testData/resolve/referenceInLib")
public class ReferenceResolveInLibrarySourcesFirTestGenerated extends AbstractReferenceResolveInLibrarySourcesFirTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K2;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("builtInNumber.kt")
    public void testBuiltInNumber() throws Exception {
        runTest("../../idea/tests/testData/resolve/referenceInLib/builtInNumber.kt");
    }

    @TestMetadata("inLibrarySource.kt")
    public void testInLibrarySource() throws Exception {
        runTest("../../idea/tests/testData/resolve/referenceInLib/inLibrarySource.kt");
    }

    @TestMetadata("toFunParameter.kt")
    public void testToFunParameter() throws Exception {
        runTest("../../idea/tests/testData/resolve/referenceInLib/toFunParameter.kt");
    }

    @TestMetadata("toLazyCall.kt")
    public void testToLazyCall() throws Exception {
        runTest("../../idea/tests/testData/resolve/referenceInLib/toLazyCall.kt");
    }

    @TestMetadata("toLocalFun.kt")
    public void testToLocalFun() throws Exception {
        runTest("../../idea/tests/testData/resolve/referenceInLib/toLocalFun.kt");
    }
}
